﻿Public Class FieldEntity
    '无参构造方法
    Public Sub New()
    End Sub
    '有参构造方法
    Public Sub New(ByVal name As String)
        Me.FieldName = name
    End Sub

    Public Sub New(ByVal name As String, ByVal value As Object, ByVal type As FieldTypeEnum)
        Me.FieldName = name
        Me.FieldValue = value
        Me.FieldType = type
    End Sub

    Public Sub New(ByVal name As String, ByVal value As Object, ByVal type As FieldTypeEnum, ByVal conn As String)
        Me.FieldName = name
        Me.FieldValue = value
        Me.FieldType = type
        Me.Connector = conn
    End Sub


    Public FieldName As String

    Public FieldValue As Object

    Public FieldType As FieldTypeEnum

    '//连接符， >、<、=
    Private _connector As String
    Public Property Connector()
        Get
            Return _connector
        End Get
        Set(ByVal value)
            _connector = value
        End Set
    End Property

    Public Enum FieldTypeEnum
        Str = 1
        DateTime = 2
        Numer = 3
        Clob = 4
        Timestamp = 5
    End Enum
End Class
